<div class="am-u-sm-12 widget" style="margin:10px ;">
	<form class="am-form-inline tpl-form-border-form" data-check="1" data-ajax="1">
		<input type="hidden" name="mot_record_id" value="{$item.mot_record_id}" />
		<div class="am-u-sm-8">
			<div class="am-u-sm-12" style="margin-bottom:10px ;">
				<div class="am-u-sm-6 cl-p">
					<label for="user-name" class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">车牌号： </label>

					<div class="am-u-sm-8 cl-p">
						<input type="hidden" class="CarId" name="car_id" value="{$item.car_id}" />
						<input type="text" class="am-form-field tpl-form-no-bg  car_number" value="{$item.number}" data-check='require' data-msg="车牌号不能为空" readonly="" />
					</div>
				</div>
				<div class="am-u-sm-6 cl-p">
					<label for="user-name" class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">年检地址： </label>
					<div class="am-form-group am-u-sm-8 cl-p">
						<div class="am-u-sm-12 cl-p">
							<input type="text" class="am-form-field tpl-form-no-bg" name="mot_add" data-check='require' data-msg="年检地址不能为空" value="{$item.mot_add}">
						</div>
					</div>
				</div>
			</div>

			<div class="am-u-sm-12" style="margin-bottom:10px ;">

				<div class="am-u-sm-6 cl-p">
					<label for="user-name" class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">当年年检时间： </label>
					<div class="am-form-group am-u-sm-8 cl-p">
						<div class="am-u-sm-12 cl-p">
							<input type="text" class="am-form-field tpl-form-no-bg start_date" name="start_date" data-check='require' data-msg="当年年检时间不能为空" value="{$item.start_date}" data-am-datepicker="" readonly="">
						</div>
					</div>
				</div>
				<div class="am-u-sm-6 cl-p">
					<label for="user-name" class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">下次年检时间： </label>
					<div class="am-form-group am-u-sm-8 cl-p">
						<div class="am-u-sm-12 cl-p">
							<input type="text" class="am-form-field tpl-form-no-bg end_date" name="end_date" data-check='require' data-msg="下次年检时间不能为空" value="{$item.end_date}" data-am-datepicker="" readonly="">
						</div>
					</div>
				</div>
			</div>
			<div class="am-u-sm-12" style="margin-bottom:10px ;">
				<div class="am-u-sm-6 cl-p">
					<label for="user-name" class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">送检人： </label>
					<div class="am-form-group am-u-sm-8 cl-p">
						<div class="am-u-sm-12 cl-p">
							<input type="text" class="tpl-form-input" name="sender" data-check='require' data-msg="送检人不能为空" value="{$item.sender}" />
						</div>
					</div>
				</div>
				<div class="am-u-sm-6 cl-p">
					<label for="user-name" class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">年检费用： </label>
					<div class="am-form-group am-u-sm-8 cl-p">
						<div class="am-u-sm-12 cl-p">
							<input type="number" class="tpl-form-input" name="price" data-check='require' data-msg="年检费用不能为空" value="{$item.price}" />
						</div>
					</div>
				</div>
			</div>

			<div class="am-u-sm-12" style="margin-bottom:10px ;">

				<div class="am-u-sm-6 cl-p">
					<label for="user-name" class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">检验员： </label>
					<div class="am-form-group am-u-sm-8 cl-p">
						<div class="am-u-sm-12 cl-p">
							<input type="text" class="tpl-form-input" name="checker" data-check='require' data-msg="检验员不能为空" value="{$item.checker}" />
						</div>
					</div>
				</div>
				<div class="am-u-sm-6 cl-p">
					<label for="user-name" class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">年检状态： </label>
					<div class="am-form-group am-u-sm-8 cl-p">
						<div class="am-u-sm-12 cl-p">
							<select name="state" class="mot_state" data-check='require' data-msg="车牌号不能为空" data-idx='{$item.state?:1}'>
								<option value="1">通过</option>
								<option value="2">不通过</option>
							</select>
						</div>
					</div>
				</div>
			</div>
			<div class="am-u-sm-12" style="margin-bottom:10px ;">
				<div class="am-u-sm-6 cl-p">
					<label for="user-name" class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">年检公司： </label>
					<div class="am-form-group am-u-sm-8 cl-p">
						<div class="am-u-sm-12 cl-p">
							<input type="text" class="tpl-form-input" data-check='require' data-msg="年检公司不能为空" name="company" value="{$item.company}" />
						</div>
					</div>
				</div>
				<div class="am-u-sm-6 cl-p">
					<label for="user-name" class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">年检联系电话： </label>
					<div class="am-form-group am-u-sm-8 cl-p">
						<div class="am-u-sm-12 cl-p">
							<input type="number" class="tpl-form-input" data-check='require' data-msg="年检联系电话不能为空" name="phone" value="{$item.phone}" />
						</div>
					</div>
				</div>
			</div>
			<div class="am-u-sm-12" style="margin-bottom:10px ;">

				<div class="am-u-sm-12 cl-p">
					<label for="user-name" class="am-u-sm-2 am-form-label cl-p" style="line-height: 35px;">备注说明： </label>
					<div class="am-form-group am-u-sm-10 cl-p">
						<div class="am-u-sm-12 cl-p">
							<textarea class="" rows="10" name="ps">{$item.ps}</textarea>
						</div>
					</div>
				</div>

			</div>
			<div class="am-u-sm-12" style="margin-bottom:10px ;">
				<div class="am-form-group am-u-sm-6 cl-p">
					<label for="user-weibo" class="am-u-sm-4 am-form-label cl-p">照片：</label>
					<div class="am-u-sm-8 ">
						<div class="am-u-sm-12">
							<div class="am-form-group am-u-sm-3 ">
								<div class="am-u-sm-10 am-margin-top-xs">
									<div class="am-form-group am-form-file showimg">
										<div class="tpl-form-file-img">
											<img src="{:CxImg($item.img)}" alt="年检记录照片">
										</div>
										<button type="button" class="am-btn am-btn-danger am-btn-sm "><i class="am-icon-cloud-upload"></i> 添加年检记录照片</button>
										<input id="doc-form-file" type="file" name="img">
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>

			</div>
			<div class="am-u-sm-12" style="margin-bottom:10px ;">
				<div class="am-u-sm-4">&nbsp;</div>
				<div class="am-u-sm-4">
					<button type="button" class="am-btn am-btn-sm am-btn-primary am-radius keep">保存</button>
					<a class="am-btn am-btn-sm am-btn-secondary am-radius back">返回上一页</a>
				</div>
				<div class="am-u-sm-4">&nbsp;</div>
			</div>
		</div>
	</form>
</div>